package com.sheep.mbg.mapper;

import com.sheep.mbg.model.RbacPermission;
import com.sheep.mbg.model.RbacPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RbacPermissionMapper {
    long countByExample(RbacPermissionExample example);

    int deleteByExample(RbacPermissionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RbacPermission record);

    int insertSelective(RbacPermission record);

    List<RbacPermission> selectByExample(RbacPermissionExample example);

    RbacPermission selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RbacPermission record, @Param("example") RbacPermissionExample example);

    int updateByExample(@Param("record") RbacPermission record, @Param("example") RbacPermissionExample example);

    int updateByPrimaryKeySelective(RbacPermission record);

    int updateByPrimaryKey(RbacPermission record);
}